﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/MasterPage1.master" AutoEventWireup="true" CodeFile="NguoiDung_XemDanhMucSanPham.aspx.cs" Inherits="ChucNang_NguoiDung_NguoiDung_XemDanhMucSanPham" Title="Untitled Page" %>

<%@ Register src="../../UserControls/SiteMapLoaiSanPham.ascx" tagname="SiteMapLoaiSanPham" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <center>
   
        
    <uc1:SiteMapLoaiSanPham ID="SiteMapLoaiSanPham1" runat="server" />
   
        
    <asp:DataList ID="DataList_DanhMucSanPham" runat="server" 
        RepeatColumns="3" RepeatDirection="Horizontal" CellPadding="5" CellSpacing="5">
        <EditItemStyle BorderColor="Red" BorderStyle="Dotted" BorderWidth="1px" />
        <ItemStyle />
        <ItemTemplate>
            <table width="140"> 
                <tr>
                    <td class="datalist_tenSanPham">
                        <asp:HyperLink ID="hyperlink_TenSP" runat="server"  NavigateUrl='<%# Eval("Id", "~/ChucNang/NguoiDung/NguoiDung_XemDanhMucSanPham.aspx?MaPL={0}") %>'><%# Eval("TenPhanLoai") %></asp:HyperLink>
                    </td>
                 </tr>
                          
                <tr>
                    <td align="center">
                        <asp:HyperLink ID="HyperLink_PicLink" runat="server" NavigateUrl='<%# Eval("Id", "~/ChucNang/NguoiDung/NguoiDung_XemDanhMucSanPham.aspx?MaPL={0}") %>'>
                            <asp:Image ID="Image_hinhSP"  Height="120" Width="120" runat="server" ImageUrl='<%# Eval("HinhAnh") %>' />
                        </asp:HyperLink>
                    </td>
                 </tr>
                 
                  
            </table>
            
        </ItemTemplate>
    </asp:DataList>
  
     </center>
     
</asp:Content>

